Optimal. Leaf size=95 \[ -\frac{a^8 2^{\frac{p}{2}+\frac{17}{2}} (\sin (c+d x)+1)^{\frac{1}{2} (-p-1)} (e \cos (c+d x))^{p+1} \, _2F_1\left (\frac{1}{2} (-p-15),\frac{p+1}{2};\frac{p+3}{2};\frac{1}{2} (1-\sin (c+d x))\right )}{d e (p+1)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0809274, antiderivative size = 95, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 23, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.087, Rules used = {2688, 69} \[ -\frac{a^8 2^{\frac{p}{2}+\frac{17}{2}} (\sin (c+d x)+1)^{\frac{1}{2} (-p-1)} (e \cos (c+d x))^{p+1} \, _2F_1\left (\frac{1}{2} (-p-15),\frac{p+1}{2};\frac{p+3}{2};\frac{1}{2} (1-\sin (c+d x))\right )}{d e (p+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2688
Rule 69
Rubi steps
\begin{align*} \int (e \cos (c+d x))^p (a+a \sin (c+d x))^8 \, dx &=\frac{\left (a^8 (e \cos (c+d x))^{1+p} (1-\sin (c+d x))^{\frac{1}{2} (-1-p)} (1+\sin (c+d x))^{\frac{1}{2} (-1-p)}\right ) \operatorname{Subst}\left (\int (1-x)^{\frac{1}{2} (-1+p)} (1+x)^{8+\frac{1}{2} (-1+p)} \, dx,x,\sin (c+d x)\right )}{d e}\\ &=-\frac{2^{\frac{17}{2}+\frac{p}{2}} a^8 (e \cos (c+d x))^{1+p} \, _2F_1\left (\frac{1}{2} (-15-p),\frac{1+p}{2};\frac{3+p}{2};\frac{1}{2} (1-\sin (c+d x))\right ) (1+\sin (c+d x))^{\frac{1}{2} (-1-p)}}{d e (1+p)}\\ \end{align*}
Mathematica [A] time = 0.198832, size = 94, normalized size = 0.99 \[ -\frac{a^8 2^{\frac{p+17}{2}} \cos (c+d x) (\sin (c+d x)+1)^{\frac{1}{2} (-p-1)} (e \cos (c+d x))^p \, _2F_1\left (\frac{1}{2} (-p-15),\frac{p+1}{2};\frac{p+3}{2};\frac{1}{2} (1-\sin (c+d x))\right )}{d (p+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 8.375, size = 0, normalized size = 0. \begin{align*} \int \left ( e\cos \left ( dx+c \right ) \right ) ^{p} \left ( a+a\sin \left ( dx+c \right ) \right ) ^{8}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (a \sin \left (d x + c\right ) + a\right )}^{8} \left (e \cos \left (d x + c\right )\right )^{p}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left ({\left (a^{8} \cos \left (d x + c\right )^{8} - 32 \, a^{8} \cos \left (d x + c\right )^{6} + 160 \, a^{8} \cos \left (d x + c\right )^{4} - 256 \, a^{8} \cos \left (d x + c\right )^{2} + 128 \, a^{8} - 8 \,{\left (a^{8} \cos \left (d x + c\right )^{6} - 10 \, a^{8} \cos \left (d x + c\right )^{4} + 24 \, a^{8} \cos \left (d x + c\right )^{2} - 16 \, a^{8}\right )} \sin \left (d x + c\right )\right )} \left (e \cos \left (d x + c\right )\right )^{p}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (a \sin \left (d x + c\right ) + a\right )}^{8} \left (e \cos \left (d x + c\right )\right )^{p}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]